package com.zhangdi.mserver.searchcli;

import org.elasticsearch.search.fetch.subphase.highlight.HighlightField;

import java.util.Map;

/**
 * Created by zhangdi on 2021/02/01 09:30:35.
 */
public class HighlightResult {
    private Map<String, Object> sources;
    private Map<String, HighlightField> highlightFields;

    public Map<String, Object> getSources() {
        return sources;
    }

    public void setSources(Map<String, Object> sources) {
        this.sources = sources;
    }

    public Map<String, HighlightField> getHighlightFields() {
        return highlightFields;
    }

    public void setHighlightFields(Map<String, HighlightField> highlightFields) {
        this.highlightFields = highlightFields;
    }
}
